EvolutionDetail

@Serializable
data class EvolutionDetail(val trigger: Handle.Named<EvolutionTrigger>, val item: Handle.Named<Item>? = null, val gender: Int? = null, val heldItem: Handle.Named<Item>? = null, val knownMove: Handle.Named<Move>? = null, val knownMoveType: Handle.Named<Type>? = null, val location: Handle.Named<Location>? = null, val minLevel: Int? = null, val minHappiness: Int? = null, val minBeauty: Int? = null, val minAffection: Int? = null, val partySpecies: Handle.Named<PokemonSpecies>? = null, val partyType: Handle.Named<Type>? = null, val relativePhysicalStats: Int? = null, val timeOfDay: String = "", val tradeSpecies: Handle.Named<PokemonSpecies>? = null, val needsOverworldRain: Boolean = false, val turnUpsideDown: Boolean = false)(source)

Evolution details specify the conditions under which a Pokémon species will evolve. See: https://pokeapi.co/docs/v2#evolutiondetail

Parameters

trigger

The type of event that triggers evolution into this Pokémon species.

item

The item required to cause evolution into this Pokémon species.

gender

The id of the gender of the evolving Pokémon species required for evolution.

heldItem

The item the evolving Pokémon species must be holding during the evolution trigger event.

knownMove

The move that must be known by the evolving Pokémon species.

knownMoveType

The evolving Pokémon species must know a move with this type.

location

The location the evolution must be triggered at.

minLevel

The minimum required level of the evolving Pokémon species.

minHappiness

The minimum required level of happiness of the evolving Pokémon species.

minBeauty

The minimum required level of beauty of the evolving Pokémon species.

minAffection

The minimum required level of affection of the evolving Pokémon species.

partySpecies

The Pokémon species that must be in the players party to trigger evolution.

partyType

The player must have a Pokémon of this type in their party to trigger evolution.

relativePhysicalStats

The required relation between the Pokémon's Attack and Defense stats.

timeOfDay

The required time of day for evolution to trigger.

tradeSpecies

Pokémon species for which this one must be traded.

needsOverworldRain

Whether or not it must be raining in the overworld to trigger evolution.

turnUpsideDown

Whether or not the 3DS needs to be turned upside-down as this Pokémon levels up.

Constructors

Link copied to clipboard
constructor(trigger: Handle.Named<EvolutionTrigger>, item: Handle.Named<Item>? = null, gender: Int? = null, heldItem: Handle.Named<Item>? = null, knownMove: Handle.Named<Move>? = null, knownMoveType: Handle.Named<Type>? = null, location: Handle.Named<Location>? = null, minLevel: Int? = null, minHappiness: Int? = null, minBeauty: Int? = null, minAffection: Int? = null, partySpecies: Handle.Named<PokemonSpecies>? = null, partyType: Handle.Named<Type>? = null, relativePhysicalStats: Int? = null, timeOfDay: String = "", tradeSpecies: Handle.Named<PokemonSpecies>? = null, needsOverworldRain: Boolean = false, turnUpsideDown: Boolean = false)

Properties

Link copied to clipboard
val gender: Int? = null
Link copied to clipboard
val heldItem: Handle.Named<Item>? = null
Link copied to clipboard
val item: Handle.Named<Item>? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val minAffection: Int? = null
Link copied to clipboard
val minBeauty: Int? = null
Link copied to clipboard
val minHappiness: Int? = null
Link copied to clipboard
val minLevel: Int? = null
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val turnUpsideDown: Boolean = false